.academic-map {
  position: relative;
}

.academic-map h3 label {
  display: inline;
  margin: 0;
}

/* MIDDLE SECTION, LEFT AND RIGHT STRUCTURE */
.mid-main {
  padding: 30px 40px 30px 0;
}

/* PROGRAM MAP */
#map svg path {
  cursor: pointer;
}

#map svg path:hover {
  fill: #47a3e6;
}

.statenum-section {
  margin-bottom: 10px;
}
.statenum,
.statenum-after{
  color: #2d659f;
  display: inline;
  font-size: 1.6rem;
}


.selectedLink {
  color: #2d659f !important;
  text-decoration: underline;
}
.statemap_statelist .disclaimer {
  margin-top: 1rem;
}

.states-listing {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
.states-listing ul {
  list-style: none;
  margin-left: 0 !important;
}

.states-listing ul li {
    line-height: 30px;
}

.statemap_statelist li {
  font-size: 1rem;
  left: 0 !important;
  padding: 0;
  margin: 0;
  color: #515151;
  cursor: pointer;
}

#map svg {
  /*min-height:40vh;*/
  max-width: 100%;
  width: 100%;
  max-height: 100%;
}
.map-program-select {
  display: none;
}

.statemap_programs {
  list-style: none;
  margin-left: 0 !important;
}

.statemap_programs li {
  left: 0 !important;
  margin: 0;
  padding: .5rem 0 .5rem 1.3rem;
  border-bottom: 1px solid #ccc;
  position: relative;
  font-size: 0.8rem;
}
.statemap_programs li:last-child {
  border-bottom: none;
}

.statemap_programs li::before {
  font-family: 'Font Awesome 6 Pro';
  font-weight: 900;
  font-size: 1rem !important;
  display: block;
  position: absolute;
  z-index: 10;
  top: .2rem;
  left: 0;
}

.statemap_programs li.meets-criteria::before {
  color: #16b824;
  content: "\f00c"; /* checkmark */
  top: 0.3rem;
}

.statemap_programs li.not-meets-criteria::before {
	color: #e4c543;
	font: var(--fa-font-regular);
	content: "\f06a"; /* circle-exclamation */
  top: 0.5rem;
}

.statemap_programs li.no-programs::before {
	color: #e45744;
	content: "\f00d"; /* xmark */
  top: 0.5rem;
}

.statemap_programs span.criteria {
  font-style: italic;
  margin-left: 1rem;
  color: #757575;
}

.map-aside {
  margin-top: 2rem;
}

.map-aside h3 {
  font-size: 1.2rem;
  margin: 0 0 .5rem;
}

.map-aside p {
  color: #515151;
  font-size: 0.8rem;
  line-height: 1rem;
}

.footnotes p,
.footnotes li {
  font-size: 1rem;
}
.footnotes h3 {
  font-size: 1.3rem;
}


/* MOBILE STYLES - 800 and below */
@media screen and (max-width: 800px) {
  /* FORM */
  div.leadform form {
    margin: 0 auto;
  }
  .leadform-mobile-container {
    background: #113565;
    color: #fff;
    display: none;
  }
  .leadform-mobile-container .container {
    max-width: 300px;
    text-align: center;
  }
  .leadform-mobile-container .container:first-child {
    padding: 28px 0;
  }

  .submit-container .button,
  .map-aside .button {
    max-width: 210px;
    width: 100%;
  }
  form input[type='text'],
  form input[type='email'],
  form select {
    height: auto;
    min-height: 30px;
  }

  /* PROGRAM MAP */
  .map-program-select {
    display: block;
  }

  .statemap_statelist li {
    font-size: 0.9rem;
    cursor: default;
  }
  #map  {
    display: none; /* hide map on mobile */
  }
}

@media screen and (min-width: 992px) {
  .academic-map {
    padding-bottom: 20px;
    padding-top: 20px;
  }
}

@media screen and (max-width: 576px) {
  .states-listing ul {
    flex-basis: 50%;
    margin-bottom: 0;
    padding-left: 0.7rem;
  }

  .states-listing ul.states1 {
    order: 1;
  }

  .states-listing ul.states2 {
    order: 3;
  }

  .states-listing ul.states3 {
    order: 2;
  }

  .states-listing ul.states4 {
    order: 4;
  }

  .map-program-select .header4 {
      font-size: 1.2rem;
      margin-bottom: 0;
      margin-top: 1rem;
  }
}

.state-name-dropdown {
  width: 100%;
  height: 41px;
  padding: 2px 14px;
  border: 2px solid #ccc;
  background-color: transparent;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  -moz-appearance: none;
  -webkit-border-radius: 0px;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: .7rem;
  z-index: 10;
  position: relative;
  cursor: pointer;
  transition-duration: .3s;
  transition-property: background-color;
  transition-timing-function: cubic-bezier(.55,.085,.68,.53);
}
.state-name-dropdown-wrapper {
  position: relative;
}
.state-name-dropdown-wrapper::before {
  font-family: 'Font Awesome 6 Pro';
  font-weight: 900;
  font-size: .9rem;
  color: #cd4b13;
  content: "\f105"; /* angle-right */
  display: inline-block;
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  position: absolute;
  z-index: 10;
  top: 10px;
  right: 14px;
}
